package com.zy.pro.order.dao;
import java.util.List;

import com.zy.core.mapper.BaseMapper;
import com.zy.pro.order.model.OrderMoney;
/**
 * OrderMoney Mapper
 *
 */
public interface OrderMoneyMapper<OrderMoney> extends BaseMapper<OrderMoney> {
	
	/**
	 * 根据订单主键查询 订单的相关付款记录
	 * @param orderId
	 * @return
	 */
	List<OrderMoney> selectMoneyByOrderId(String orderId);
	
	/**
	 * 根据订单主键查询 订单的最新一条付款记录
	 * @param orderId
	 * @return
	 */
	OrderMoney selectNewMoneyByOrderId(String orderId);
}
